package com.spring.annotation_profile_demo;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Profile;

@Configuration
@Profile("pro")
public class ProConfig {
	@Bean
	public BeanTest property(){
		return new BeanTest("pro","prousername","pwd");
	}
}
